export const tableItem = [
    {
        prop: 'title',
        label: '标题',
        minWidth: '200',
    },
    {
        prop: 'toEmail',
        label: '收件人',
        minWidth: '150',
    },
    {
        prop: 'status',
        label: '发送状态',
        slotName: 'statusSlot',
        minWidth: '100',
    },
    {
        prop: 'content',
        label: '邮件内容',
        minWidth: '250',
        showOverflowTooltip: true,
        slotName: 'contentSlot',
    },
    {
        prop: 'fileName',
        label: '导入文件名称',
        minWidth: '250',
    },
    {
        prop: 'code',
        label: '导入编号',
        minWidth: '200',
    },
    {
        prop: 'lastSendTime',
        label: '上次发送时间',
        width: '180',
    },
    {
        prop: 'sendNumber',
        label: '发送次数',
        minWidth: '120',
    },
    {
        prop: 'sendEmail',
        label: '发件人',
        minWidth: '180',
    },
    {
        prop: 'copyEmail',
        label: '抄送人',
        minWidth: '150',
    },
    {
        prop: 'remark',
        label: '备注',
        minWidth: '180',
    },
    {
        prop: 'todo',
        label: '操作',
        width: '200',
        fixed: !window.isSmallScreen ? 'right' : false,
        slotName: 'todo',
        showOverflowTooltip: false,
    },

]
export default () => {
    return {
        tableItem,
        elTableConfig: {
            tooltipOptions: {
                popperClass: 'lmw_popper',
                effect: 'light',
            },
            stripe: false,
            rowKey: 'mailItemId',
            showOverflowTooltip: false,
        },
        showIndex: true,
        showChoose: true,
        pagination: false,
        // border: false,
    }
}
